package com.supercube.sport.yoga.dao;

import com.supercube.sport.yoga.domain.MemberCardBasicInfoDTO;
import com.supercube.sport.yoga.vo.MemberCardBasicInfoBo;
import com.supercube.sport.yoga.vo.MemberCardBasicInfoVO;
import com.supercube.sport.yoga.vo.MemberCardInfoVO;
import com.supercube.sport.yoga.vo.MemberCardVo;

import java.util.List;

public interface MemberCardBasicInfoMapper {
    int deleteByPrimaryKey(String cardId);

    int insert(MemberCardBasicInfoDTO record);

    int insertSelective(MemberCardBasicInfoDTO record);

    MemberCardBasicInfoVO selectByPrimaryKey(String cardId);

    int updateByPrimaryKeySelective(MemberCardBasicInfoDTO record);

    int updateByPrimaryKey(MemberCardBasicInfoDTO record);

    List<MemberCardBasicInfoVO> selectMemberCardInfoList(MemberCardBasicInfoBo dto);

    List<MemberCardVo> selectAllMemberCardByCardIdAndUserId(String cardId, Long userId);

    List<MemberCardInfoVO> selectMemberCardInfoByCourseId(String courseId);
}